package com.cmc.cloud.cmclink.doc.api.document;

import javax.annotation.Resource;

import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RestController;

import com.cmc.cloud.cmclink.doc.api.document.rep.sendarrivaldto.BlnoArrivalNoticeDTO;
import com.cmc.cloud.cmclink.doc.api.document.rep.sendarrivaldto.BlnoSendArrivalReqDTO;
import com.cmc.cloud.cmclink.doc.service.si.BlnoArrivalNoticeService;
import com.cmes.framework.common.pojo.CommonResult;

/**
 * @author lzp
 */
@RestController
@Validated
public class BlnoArrivalNoticeApiImpl implements BlnoArrivalNoticeApi {

    @Resource
    private BlnoArrivalNoticeService blnoArrivalNoticeService;

    @Override
    public CommonResult<BlnoArrivalNoticeDTO> queryArrivalNotice(BlnoSendArrivalReqDTO blnoSendArrivalReqDto) {
        return CommonResult.success(blnoArrivalNoticeService.queryArrivalNotice(blnoSendArrivalReqDto));
    }
}
